#include "lcd_extra.h"
#include "display_drv.h"
void lcd_extra_config(void)
{
    oled_write_cmd(0xB2);
    oled_write_data(0x0C);
    oled_write_data(0x0C);
    oled_write_data(0x00);
    oled_write_data(0x33);
    oled_write_data(0x33);

    oled_write_cmd(0xB7);
    oled_write_data(0x35);

    oled_write_cmd(0xBB);
    oled_write_data(0x32);

    oled_write_cmd(0xC2);
    oled_write_data(0x01);

    oled_write_cmd(0xC3);
    oled_write_data(0x19);

    oled_write_cmd(0xC4);
    oled_write_data(0x20);

    oled_write_cmd(0xC6);
    oled_write_data(0x0F); // 0x0F:60Hz

    oled_write_cmd(0xD0);
    oled_write_data(0xA4);
    oled_write_data(0xA1);

    oled_write_cmd(0xe9);
    oled_write_data(0x11);
    oled_write_data(0x11);
    oled_write_data(0x03);

    oled_write_cmd(0xE0);
    oled_write_data(0xD0);
    oled_write_data(0x08);
    oled_write_data(0x0E);
    oled_write_data(0x09);
    oled_write_data(0x09);
    oled_write_data(0x05);
    oled_write_data(0x31);
    oled_write_data(0x33);
    oled_write_data(0x48);
    oled_write_data(0x17);
    oled_write_data(0x14);
    oled_write_data(0x15);
    oled_write_data(0x31);
    oled_write_data(0x34);

    oled_write_cmd(0xE1);
    oled_write_data(0xD0);
    oled_write_data(0x08);
    oled_write_data(0x0E);
    oled_write_data(0x09);
    oled_write_data(0x09);
    oled_write_data(0x15);
    oled_write_data(0x31);
    oled_write_data(0x33);
    oled_write_data(0x48);
    oled_write_data(0x17);
    oled_write_data(0x14);
    oled_write_data(0x15);
    oled_write_data(0x31);
    oled_write_data(0x34);
}
